﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using EMC;

namespace SaunaClient.View.Admin_Client
{
    public partial class NewUserForm : Form
    {
        public NewUserForm()
        {
            InitializeComponent();
        }

        private void Submit_Click(object sender, EventArgs e)
        {

           User user = new User();
           user.CreateUser(UserIDTxtBox.Text, FirstNameTxtBox.Text, LastNameTxtBox.Text, PasswordTxtBox.Text, LevelTextBox.Text, EmailTxtBox.Text);
           this.Hide();

        }
    }
}
